package com.zwy.ubts.dao;

import com.zwy.ubts.bean.BookType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Zhou Wenying
 * @Description:
 * @Date Created in 15:17 2023/3/7
 */
public interface BookTypeDao extends BaseDao {
    //遍历图书类别
    public List<BookType> queryBookTypes();

    BookType queryBookTypeById(@Param("id") Integer id);

    Integer deleteBookTypeById(@Param("id") Integer id);

    Integer insertBookType(BookType bookType);

    Integer UpdateBooktypeById(BookType bookType);


}
